package com.shunda.ysdgj.model.entity.system;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.shunda.ysdgj.model.entity.base.BaseEntity;
import io.swagger.v3.oas.annotations.Hidden;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@TableName("ysdgj_sys_user")
@Schema(description = "管理员实体")
public class SysUser extends BaseEntity {
    @Schema(description = "添加人ID")
    private Long sysUserId;

    @Schema(description = "店铺ID")
    private Long shopId;

    @Schema(description = "管理员登录账号")
    private String userAccount;

    @Schema(description = "管理员登录密码")
    @JsonProperty(access = JsonProperty.Access.WRITE_ONLY)
    private String userPassword;

    @Schema(description = "管理员姓名")
    private String userName;

    @Schema(description = "管理员手机号")
    private String userMobile;

    @Schema(description = "管理员头像")
    private String userAvatar;

    @Schema(description = "管理员状态 1正常 0禁用")
    private Integer userStatus;
}
